<template>
    <div>
        <ul>
            <li v-for="message,index in messages" :key="index">{{message}}</li>
        </ul>
    </div>    
</template>

<script>
export default {
    name:'HomeMessages',
    data(){
        return {
            messages:["来自10086的消息","来自淘宝的信息","来自4s店的信息"]
        }
    }
}
</script>

<style>

</style>